package com.study.demo.hutool.core;

import cn.hutool.core.collection.CollUtil;

import java.util.List;

public class CollUtilDemo {

    public static void main(String[] args) {

        // 1. join 方法
        String[] col= new String[]{"a","b","c","d","e"};
        List<String> colList = CollUtil.newArrayList(col);
        String str = CollUtil.join(colList, "#"); //str -> a#b#c#d#e

    }
}
